<% content_for :page_actions_dropdown do %>
  <%= link_to_edit_translations(@product) %>
  <%= external_page_preview_link(@product) %>

  <% if can?(:clone, @product) %>
    <%= link_to_with_icon('copy', Spree.t(:clone), spree.clone_admin_product_path(@product), class: 'dropdown-item', data: { turbo_method: :post }) %>
  <% end %>
<% end %>

<%= render partial: 'spree/admin/shared/error_messages', locals: { target: @product } %>

<% content_for :page_title do %>
  <%= page_header_back_button spree.admin_products_path, @product %>
  <span class="mr-3"><%= @product.name %></span>
  <%= product_status(@product) %>
<% end %>

<%= form_for [:admin, @product] do |f| %>
  <%= render 'form', f: f %>
  <%= render 'spree/admin/shared/edit_resource_links', f: f %>
<% end %>

